package com.deyuanyun.pic.pbf.service.impl;


import com.deyuanyun.pic.pbf.domain.RepairABTypeSleeve;
import com.deyuanyun.pic.pbf.mapper.RepairABTypeSleeveMapper;
import com.deyuanyun.pic.pbf.service.RepairABTypeSleeveService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RepairABTypeSleeveServiceImpl implements RepairABTypeSleeveService {
    @Autowired
    private RepairABTypeSleeveMapper repairABTypeSleeveMapper;

    private static final Logger logger = LoggerFactory.getLogger(RepairABTypeSleeveServiceImpl.class);

    public RepairABTypeSleeve selectByPrimaryKey(String id) {
        return this.repairABTypeSleeveMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.repairABTypeSleeveMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(RepairABTypeSleeve record) {
        return this.repairABTypeSleeveMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(RepairABTypeSleeve record) {
        return this.repairABTypeSleeveMapper.updateByPrimaryKey(record);
    }

    public int insert(RepairABTypeSleeve record) {
        return this.repairABTypeSleeveMapper.insert(record);
    }

    @Override
    public int insertSelective(RepairABTypeSleeve abTypeSleeve) {
        return this.repairABTypeSleeveMapper.insertSelective(abTypeSleeve);
    }
}